package com.mashibing.mall.product.enums;

import lombok.Getter;

/**
 * 属性类型 枚举类
 */
@Getter
public enum ProductConstant {

    ATTR_TYPE_SALES(0, "销售属性"),
    ATTR_TYPE_BASE(1, "基本属性"),
    ATTR_TYPE_SALES_AND_BASE(2, "既是销售属性又是基本属性")
    ;

    private final Integer code;
    private final String message;
    ProductConstant(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
